.jobs-listing {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
  gap: 1rem;
}
.job {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.job-heading {
  padding: 0.5rem 1rem;
}
.job-title {
  font-weight: bold;
  font-size: larger;
  line-height: 1;
}
.job-categories {
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  font-size: smaller;
  line-height: 1;
  flex-wrap: wrap;
}
.job-category {
  list-style: none;
  margin: 0;
  padding: 0.25em;
}
.job-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.job-details {
  border-top: 1px solid #999;
  margin: 0;
  padding: 0 1rem;
  width: 100%;
  font-variant-numeric: normal;
  flex-grow: 1;
  display: block;
}
.job-details>p {
  margin: 0.5em 0;
}
.job-actions {
  border-top: 1px solid #999;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
}
.job-new-badge,
.job-closing-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: smaller;
  line-height: 1;
  height: 2rem;
  padding: 0 1rem;
  border-radius: 1rem;
  background-color: #090;
  color: white;
  font-weight: bold;;
}
.job-closing-badge {
  background-color: #900;
}
.job-more-info {
  margin-left: auto;
  display: block;
  text-align: center;
  background: rgb(var(--color-heading));
  color: white !important;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}
.job-more-info:hover,
.job-more-info:focus-visible {
  text-decoration: underline;
}
.job-more-info::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.job:has(.job-more-info:hover),
.job:has(.job-more-info:focus-visible) {
  outline: 3px solid #999;
}